home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 138
/
Volume 138 Aug 19 2011 - Damaged.iso
/
Games
/
guardian_angel.swf
/
scripts
/
DefineSprite_157
/
frame_1
/
DoAction.as
Wrap
Text File
|
2011-08-19
|
757b
|
28 lines
if(_Y - "42" < eval("../:laufy") and eval("../:laufy") < _Y + "96")
{
if(eval("../:laufx") < _X + "102" and _X < eval("../:laufx"))
{
set("../:xcontact","1");
set("../:aufprall","2");
}
if(_X >= eval("../:laufx") and _X - "102" < eval("../:laufx"))
{
set("../:xcontact","2");
set("../:aufprall","2");
}
}
if(_X - "92" < eval("../:laufx") and eval("../:laufx") < _X + "92")
{
if(_Y - "56" < eval("../:laufy") and _Y + "15" >= eval("../:laufy"))
{
set("../:stepy",- "2");
set("../:fallen","0");
set("../:aufprall","1");
}
if(_Y + "15" < eval("../:laufy") and eval("../:laufy") < _Y + "110")
{
set("../:fallen","1");
set("../:stepy","2");
}
}